package com.zelix;

import java.util.*;

class br extends ar {

    private static String z[];

    br(HashSet hashset, se se1)
            throws ec {
        super();
        boolean flag;
        ArrayList arraylist;
        Iterator iterator;
        flag = true;
        arraylist = null;
        iterator = hashset.iterator();
        while (iterator.hasNext()) {
//_L9:
            pq pq1;
            dr adr1[];
            int k;
            pq1 = (pq) iterator.next();
            if (flag) {
                vq vq1 = pq1.a();
                super.a = vq1.g();
                super.d = pq1.c();
                if (!super.a.k())
                    break; /* Loop/switch isn't completed */
                arraylist = new ArrayList(hashset.size());
                ou ou1 = pq1.b();
                a(vq1, se1);
                adr1 = a(ou1, se1);
                for (k = 0; k < adr1.length; k++) {
                    arraylist.add(adr1[k]);
                }
            } else {
                dr adr[];
                int j;
                ou ou = pq1.b();
                adr = a(ou, se1);
                for (j = 0; j < adr.length; j++) {
                    arraylist.add(adr[j]);
                }
                flag = false;
            }
        }
        int i = 0;
        if (arraylist != null) {
            Iterator iterator1;
            super.h = new dr[arraylist.size()];
            iterator1 = arraylist.iterator();
            while (iterator1.hasNext()) {
                super.h[i++] = (dr) iterator1.next();
            }
        }
    }

    dr[] a(ou ou, se se1)
            throws ec {
        StringBuffer stringbuffer;
        Vector vector;
        String as[];
        String s;
        String s1;
//        boolean flag;
        stringbuffer = new StringBuffer();
        vector = ou.M();
        int i = vector.size();
        as = a(vector, stringbuffer, se1);
        s = ou.a();
        s1 = a(s, se1);
        dr adr[];
        if (ou.U()) {
            String s2;
            int j = super.e.lastIndexOf(".");
            if (j == -1) {
                s2 = super.e;
            } else
                s2 = super.e.substring(j + 1);
            adr = new dr[1];
            adr[0] = new dr(s2, as);
        } else {
            if (ou.T()) {
                adr = new dr[1];
                adr[0] = new dr(z[3], as);
            } else {
                String s3;
                String as1[];
                s3 = ou.w();
                as1 = se1.a(super.e, s3, s1, stringbuffer.toString());
                if (as1 != null && as1.length != 0) {
                    StringBuffer stringbuffer1;
                    int l;
                    if (se1.e(super.e)) {
                        stringbuffer1 = new StringBuffer();
                        for (l = 0; l < vector.size(); l++) {
                            stringbuffer1.append(vector.get(l));
                            if (l < vector.size() - 1)
                                stringbuffer1.append(z[1]);
                        }
                        throw new ec(z[0] + s + " " + s3 + "(" + stringbuffer1.toString() + z[2] + super.e + z[4]);
                    }
                    adr = new dr[1];
                    adr[0] = new dr(s3, as);
                } else {
                    int k;
                    adr = new dr[as1.length];
                    for (k = 0; k < as1.length; k++) {
                        adr[k] = new dr(as1[k], as);
                    }
                }
            }
        }
//        if (gs.b != 0)
//            ec.b = !flag;
        return adr;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x59;
                    break;
                case 1:
                    key = 95;
                    break;
                case 2:
                    key = 12;
                    break;
                case 3:
                    key = 121;
                    break;
                case 4:
                    key = 17;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static {
        String as[];
        as = new String[5];
        as[0] = z("\024:x\021~=\177+".toCharArray());
        as[1] = z("u\177".toCharArray());
        as[2] = z("px,\020by6bYe1:,\033h-:o\026u<\177c\0371:3m\nby(e\ryy0~\020v01m\02517>a\0341~".toCharArray());
        as[3] = z("*+m\rx:".toCharArray());
        as[4] = z("~\177n\fey;c\034b7xxYp)/i\030cy6bYe1:,\032y81k\034150kW1\0327m\027v<\177`\026vy;c\034by1c\r1:0~\013t*/c\027uy+cY~;9y\nr8+i\0351;&x\034r6;iW".toCharArray());
        z = as;
    }
}